package demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import demo.entity.Transfer;

public interface TransferMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Transfer record);

    int insertSelective(Transfer record);

    Transfer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Transfer record);

    int updateByPrimaryKey(Transfer record);
    
    //查询全部人事调度的申请
    List<Transfer>  findAll(Transfer transfer,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
    //根据编号修改申请状态
    int updateApplyState(@Param("id")Integer id,@Param("state")Integer state);
}